[IA64] fix ia64 cset 8906
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 24 Feb 2006 16:41:27 +0000 (09:41 -0700)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 24 Feb 2006 16:41:27 +0000 (09:41 -0700)
Looks like we accidentially added a compliment op here, adding
one more to nullify.  Fixed dom0 not booting.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen/arch/ia64/xen/process.c

index 8e9d1e815824de10fa633fb5212c35bfbd74d993..cf5a4fe49be128ca4f5ce2a67bd2f5dc2e54a257 100644 (file)
@@ -94,7 +94,7 @@ unsigned long translate_domain_pte(unsigned long pteval,
        extern unsigned long dom0_start, dom0_size;
 
        // FIXME address had better be pre-validated on insert
-       mask = itir_mask(itir);
+       mask = ~itir_mask(itir);
        mpaddr = ((pteval & _PAGE_PPN_MASK) & ~mask) | (address & mask);
        if (d == dom0) {
                if (mpaddr < dom0_start || mpaddr >= dom0_start + dom0_size) {